package com.example.mapper;

import com.example.pojo.Customer;

import java.util.List;

public interface CustomerMapper {
    public List<Customer> findAll();

    public int saveCustomer(Customer customer);

    public int deleteCustomerById(int id);

    public Customer findById(int id);

    public int updateCustomerById(Customer customer);

    public  List<Customer> findByLikeName(String name);
}
